package demo3;

import java.util.Scanner;

public class text2 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int number = sc.nextInt();
        for (int i = 0; i <= number-1; i++) {
            for (int j = 0; j <= number-1; j++) {
                if(i==j || i+j == number-1){
                    System.out.print("*");
                }
                System.out.print(" ");
            }
            System.out.println();
        }
    }

}
